package com.kinyx.demo.entities.impl;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
@Entity
public class TypesDateEntity {

	@Id
	@Column(nullable = false, updatable = false, length = 32)
	private String c00;

	// =========================== Date =========================== //
	private Date i01_Date;

	@Column(nullable = true, precision = 9, scale = 3, length = 12)
	private Date i02_Date;
	@Column(nullable = false, precision = 9, scale = 3, length = 12)
	private Date i03_Date;

	@Temporal(TemporalType.DATE)
	@Column(nullable = true, precision = 9, scale = 3, length = 12)
	private Date i10_Date;
	@Temporal(TemporalType.DATE)
	@Column(nullable = false, precision = 9, scale = 3, length = 12)
	private Date i11_Date;

	@Temporal(TemporalType.TIME)
	@Column(nullable = true, precision = 9, scale = 3, length = 12)
	private Date i20_Date;
	@Temporal(TemporalType.TIME)
	@Column(nullable = false, precision = 9, scale = 3, length = 12)
	private Date i21_Date;

	@Temporal(TemporalType.TIMESTAMP)
	@Column(nullable = true, precision = 9, scale = 3, length = 12)
	private Date i30_Date;
	@Temporal(TemporalType.TIMESTAMP)
	@Column(nullable = false, precision = 9, scale = 3, length = 12)
	private Date i31_Date;

}
